package com.lhb.dao;

import com.lhb.pojo.Course;
import com.lhb.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.10.10 下午 13:32
 */
@Mapper
public interface TeacherDao {
    List<Teacher> findAll();

    int del(Integer id);

    List<Course> findAllPage();

    int insertTeacher(Teacher teacher);

    int update(Teacher teacher);

}

